
package com.be.beadmin.basicData.service;

import com.be.beadmin.basicData.entity.Customer;
import com.be.beadmin.basicData.dto.output.CustomerEx;
import com.be.beadmin.basicData.dto.input.CustomerDto;
import com.be.beadmin.basicData.dto.input.CustomerQueryCriteria;
import org.springframework.data.domain.Page;
import com.be.beadmin.common.entity.PageEntity;
import org.springframework.data.domain.Pageable;
import java.util.Map;
import java.util.List;
import java.io.IOException;
import javax.servlet.http.HttpServletResponse;

/**
* @website https://el-admin.vip
* @description 服务接口
* @author chenwei
* @date 2022-12-23
**/
public interface CustomerService {

    /**
    * 分页的查询接口
    * @param pageEntity
    * @return
    */
    Page<CustomerEx> getCustomerByPage(PageEntity pageEntity);

    /**
    * @param customerDto
    */
    void addCustomer(CustomerDto customerDto);

    /**
    * @param customerDto
    */
    void updateCustomer(CustomerDto customerDto);

    /**
    * @param id
    */
    void delCustomer(String id);

    /**
    * 删除多个角色
    * @param ids
    */
    void delCustomers (List<String> ids);

}